package com.bwie.service;

import com.bwie.pojo.TbType;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bwie.utils.Result;
import org.springframework.web.multipart.MultipartFile;

/**
* @author Administrator
* @description 针对表【tb_type(商品分类表)】的数据库操作Service
* @createDate 2025-05-25 16:00:08
*/
public interface TbTypeService extends IService<TbType> {

    Result addType(TbType tbType);

    Result deleteType(Integer typeId);

    Result getTypeTree();

    Result setTypeStatus(Integer typeId, Integer typeStatus);

    Result deleteTypeById(Integer typeId);

    Result uploadFile(MultipartFile file);

    Result updateType(TbType tbType);

    Result getTypeSelectTree();
}
